package io.github.ealenxie.walmart.marketplace.returns;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.ealenxie.walmart.marketplace.CurrencyAmountUnit;
import io.github.ealenxie.walmart.marketplace.NameValuePayload;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author create by sch  2023/7/11 10:10
 * @version 1.0
 */
@Getter
@Setter
public class Charge {
    /**
     * chargeCategory
     */
    @JsonProperty("chargeCategory")
    private String chargeCategory;
    /**
     * chargeName
     */
    @JsonProperty("chargeName")
    private String chargeName;
    /**
     * chargePerUnit
     */
    @JsonProperty("chargePerUnit")
    private CurrencyAmountUnit chargePerUnit;
    /**
     * isDiscount
     */
    @JsonProperty("isDiscount")
    private Boolean isDiscount;
    /**
     * isBillable
     */
    @JsonProperty("isBillable")
    private Boolean isBillable;
    /**
     * tax
     */
    @JsonProperty("tax")
    private List<Tax> tax;
    /**
     * excessCharge
     */
    @JsonProperty("excessCharge")
    private CurrencyAmountUnit excessCharge;
    /**
     * references
     */
    @JsonProperty("references")
    private List<NameValuePayload> references;
}
